package org.cancer.app

import org.apache.spark.sql.Dataset
import org.cancer.common.TApp
import org.cancer.controller.ProportionStagesCancerController

object ProportionStagesCancerApp_Sylvia extends TApp{

  val proportionStagesCancerController = new ProportionStagesCancerController()
  start("local[*]",  "ProportionStagesCancerApp"){

    val ds: Dataset[String] = spark.read.textFile("input/ChineseCancerPatientInfo.csv")

    proportionStagesCancerController.dispatch(ds)

  }

}
